<extend name="public/base"/>

<block name="header">
    <li class="active"><a href="javascript:;">安装协议</a></li>
    <li class="active"><a href="javascript:;">环境检测</a></li>
    <li class="active"><a href="javascript:;">创建数据库</a></li>
    <li class="active"><a href="javascript:;">安装</a></li>
    <li><a href="javascript:;">完成</a></li>
    <script src="__PUBLIC__/artDialog/artDialog.js"></script>
	<link href="__PUBLIC__/artDialog/skins/default.css" rel="stylesheet" type="text/css" />	
</block>

<block name="body">
    <h1>安装</h1>
    <div id="show-list" class="install-database">
    </div>
    <script type="text/javascript">
       $(function(){
       	
       	art.dialog({				
			  	id:'install',
				title: '安装中',
			    lock: true,	
			   
			});
       	
       	$.post(
       		'{:url("Install/insert_db")}',
       		function(d){
       			if(d.success){
       				location=d.url;
       			}
       		}
       	);
       /*	*/
       });
    </script>
</block>

<block name="footer">
    <button class="btn btn-warning btn-large btn-block disabled">正在安装，请稍候...</button>
</block>